package infaraway.strategy;

import infaraway.strategy.duck.Duck1;
import infaraway.strategy.duck.Duck2;

/**
 * Created by :Infaraway
 * DATE : 2017/4/25
 * Time : 23:09
 * Funtion :
 */
public class Main {

    public static void main(String[] as){
        Duck duck1 = new Duck1();
        Duck duck2 = new Duck2();
        duck1.display();
        duck1.performFly();

        duck2.display();
        duck2.performQuack();

    }



}
